package com.adaxi.adc.business.vehicletrip.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 司机行程的实时位置信息表
 * @TableName adc_vehicle_trip_location
 */
@TableName(value ="adc_vehicle_trip_location")
@Data
public class VehicleTripLocation implements Serializable {
    /**
     * 位置ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 车辆的行程ID
     */
    @TableField(value = "vehicle_trip_id")
    private String vehicleTripId;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private String latitude;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private String longitude;

    /**
     * 记录时间
     */
    @TableField(value = "timestamp")
    private Date timestamp;

    /**
     * 逻辑删除状态字段: 0 表示未删除, 1 表示已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}